﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>溜溜网{% block title %}{% endblock %}</title>
</head>

<body>
  <table borderColor=#cccccc cellSpacing=0 cellPadding=3 width="100%" bgColor=#ffffff border=2>

    <tr>
      <td colSpan=2 align="center"><img src="http://code.google.com/appengine/images/appengine-noborder-120x30.gif" 
alt="由 Google App Engine 提供支持" />&nbsp;<b>溜溜网<b></td>
    </tr>

    <tr>
      <td colSpan=2>&nbsp;

      	{% if UserName %}
		<A href="/">我的溜溜</A>&nbsp;<A href="/blog?tag=my">我的微博</A>&nbsp;<A href="/message?tagbox=receive&tag=my">我的消息</A>&nbsp;<A href="/collect?tag=my">我的收藏</A>&nbsp;<A href="/like?tag=my">我喜欢的</A>&nbsp;<A href="/tool?tag=my">我的工具</A>&nbsp;<A href="/friend?tag=my">我的朋友</A>&nbsp;<A href="/group?tag=my">我的组</A>&nbsp;<A href="/about">关于</A>
		{% if IsAdmin %}
			&nbsp;<A href="/admin">设置</A>
		{% endif %}
      	{% else %}
		<A href="/">溜溜</A>&nbsp;<A href="/blog">热门微博</A>&nbsp;<A href="/collect">热门收藏</A>&nbsp;<A href="/like">最受欢迎的</A>&nbsp;<A href="/tool">小工具</A>&nbsp;<A href="/friend">活跃用户</A>&nbsp;<A href="/group">热门组</A>&nbsp;<A href="/about">关于</A>
      	{% endif %}
	
      </td>
    </tr>

    <tr>
      <td>
      	{% if UserName %}
      		&nbsp;欢迎您：{{ UserName }}&nbsp;<a href = "{{ LogUrl }}">退出</a>&nbsp;<a href="/userinfo">我的资料</a>&nbsp;<a href="/invite">邀请加入</a>
      	{% else %}
      		&nbsp;请：<a href = "{{ LogUrl }}">登录或注册</a>
      	{% endif %}
      </td>
      <td>&nbsp;</td>
    </tr>

    <tr>
      <td>
	<form action="/search" method="post" name="form-search" >
		<div>搜索：<input type="text" name="title" size="70"></input><input type="submit" value="提交"/></div>
	</form>
      </td>
      <td>&nbsp;</td>
    </tr>

  </table>

{% block content %}{% endblock %}

<p align="center">&copy;&nbsp;2009&nbsp;溜溜网</p>
</body>
</html>